package cn.itcast.service;


import cn.itcast.entity.PageResult;
import cn.itcast.pojo.Member;
import cn.itcast.pojo.Statistics;

import java.util.List;
import java.util.Map;

public interface MemberService {

    /**
     * 根据手机号码查询用户
     *
     * @param phone
     * @return
     */
    public Member findByTelephone(String phone);

    /**
     * 添加新用户
     *
     * @param member
     */
    void add(Member member);
    /**
     * 分页查询会员信息
     *
     * @param currentPage
     * @param pageSize
     * @param queryString
     * @return
     */
    PageResult SearchInformation(Integer currentPage, Integer pageSize, String queryString);


    void update(Member member);

    Member selectbyid(Integer id);


    void updatestatus(Integer id, Integer status);



}
